set -x
set -e
cd ~/openharmony
cd test/xts/acts
rm -rf *
git restore ./
cd -
cd third_party/musl
rm -rf *
git restore ./
cd -
#test/xts/acts/build.sh product_name=rk3568 system_size=standard target_subsystem=commonlibrary
./build.sh --product-name rk3568 --build-target libctest
cd ~/openharmony/out/rk3568/musl

tar -cvf libc-test.tar libc-test
tar -cvf libc-test-lib.tar libc-test-lib

set +x